﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenSSL.X509;

namespace Sicurezza.Client.Manager
{
    public class RevokeManager
    {


        public static bool SendRequest(X509Certificate Certificato, string password)
        {
            byte[] signature = SSLManager.Sign(Certificato.SerialNumber.ToString(), Certificato, password);
            return WSManager.Revoke(Certificato.SerialNumber.ToString(),signature);
        }

    }
}
